* Apply to:  sfbos_1_eigen.csv
* Description:  Plot eigenvalues from roll call analysis

clear
set more off


import delimited "...\1805 Roadmaps\Figures A5 and A6\sfbos_1_eigen.csv", delimiter(comma)


* Fix variable names

rename v1 dimensions
rename x eigen


sort dimensions


twoway scatter eigen dimensions, ///
     mcolor(black) msymbol(O) msize(large) || ///
     line eigen dimensions, ///
	 lcolor(black) lpattern(solid) ///
     xlabel(1(1)11) xmlabel(0(1)11.5, nolabel notick) ///
	 xtitle(" " "{bf:Dimension}") ///
	 ylabel(-.05(.1).8, nolabel notick) ///
	 ytitle("{bf:Eigenvalue}" " ") ///
	 legend(off) plotregion(margin(zero) color(white)) graphregion(color(white))

* End
